-
Home
-
Jetpack Boost – Website Speed, Performance and Critical CSS
-
2.0.1
-
Code
-
Classes
- Wpcom_Products
Total Complexity |
25 |
Dependencies |
4 |
Dependents |
13 |
Total lines |
247 |
Lines of code |
134 |
Logical lines of code |
68 |
Comment lines |
77 |
Methods |
9 |
Properties |
0 |
Methods 9
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_products() |
S |
57 |
6 |
19 |
get_products_from_wpcom() |
S |
48 |
3 |
36 |
populate_with_discount() |
S |
58 |
4 |
15 |
get_product_pricing() |
S |
53 |
3 |
24 |
get_site_current_purchases() |
S |
55 |
3 |
20 |
is_cache_old() |
S |
67 |
2 |
7 |
get_product() |
S |
71 |
2 |
6 |
update_cache() |
S |
74 |
1 |
4 |
get_products_from_cache() |
S |
78 |
1 |
3 |